<?php
// .-----------------------------------------------------------------------------------
// |  Software: [HDPHP framework]
// |      Site: www.hdphp.com
// |-----------------------------------------------------------------------------------
// |    Author: 向军 <2300071698@qq.com>
// | Copyright (c) 2012-2019, www.houdunwang.com. All Rights Reserved.
// |-----------------------------------------------------------------------------------
// |  PHP实战培训: www.houdunwang.com
// '-----------------------------------------------------------------------------------
/**
 * 中文字符串截取
 */
function mb_substrlen($str,$len,$symbol="..."){
	 if (strlen($str) > $len) {
	 	return mb_substr($str, 0,$len,'utf8') . $symbol;
	 }
	 return mb_substr($str, 0,$len,'utf8');
}

//调试模式
define('DEBUG',true);
define('APP_PATH','App');
//引入框架11
require 'Hdphp/Hdphp.php';